github.com/go-pg/pg/v10/internal/pool.BytesReader.i (field)
32 uses
github.com/go-pg/pg/v10/internal/pool (current package)
reader_bytes.go#L15: i int
reader_bytes.go#L26: r.i = 0
reader_bytes.go#L30: return len(r.s) - r.i
reader_bytes.go#L34: return r.s[r.i:]
reader_bytes.go#L38: if r.i >= len(r.s) {
reader_bytes.go#L41: n = copy(b, r.s[r.i:])
reader_bytes.go#L42: r.i += n
reader_bytes.go#L47: if r.i >= len(r.s) {
reader_bytes.go#L50: b := r.s[r.i]
reader_bytes.go#L51: r.i++
reader_bytes.go#L56: if r.i <= 0 {
reader_bytes.go#L59: r.i--
reader_bytes.go#L64: if i := bytes.IndexByte(r.s[r.i:], delim); i >= 0 {
reader_bytes.go#L66: line := r.s[r.i : r.i+i]
reader_bytes.go#L67: r.i += i
reader_bytes.go#L71: line := r.s[r.i:]
reader_bytes.go#L72: r.i = len(r.s)
reader_bytes.go#L77: for i, c := range r.s[r.i:] {
reader_bytes.go#L80: line := r.s[r.i : r.i+i]
reader_bytes.go#L81: r.i += i
reader_bytes.go#L86: line := r.s[r.i:]
reader_bytes.go#L87: r.i = len(r.s)
reader_bytes.go#L102: b := r.s[r.i : r.i+nn]
reader_bytes.go#L103: r.i += nn
reader_bytes.go#L111: b := make([]byte, len(r.s)-r.i)
reader_bytes.go#L112: copy(b, r.s[r.i:])
reader_bytes.go#L113: r.i = len(r.s)
reader_bytes.go#L118: b := r.s[r.i:]
reader_bytes.go#L119: r.i = len(r.s)
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)